package rd.android.hardcore.event 
{
	import flash.events.Event;
	
	/**
	 * ...
	 * @author Fazermokeur
	 */
	public class PadsEvent extends Event 
	{
		public static const PAD_IS_RELEASED : String = "pad is release";
		
		public var keyId:int;
		
		public function PadsEvent(type:String, id:int, bubbles:Boolean=false, cancelable:Boolean=false) 
		{ 
			super(type, bubbles, cancelable);
			keyId = id;
		} 
		
		public override function clone():Event 
		{ 
			return new PadsEvent(type, keyId, bubbles, cancelable);
		} 
		
		public override function toString():String 
		{ 
			return formatToString("PadsEvent", "type", "keyId", "bubbles", "cancelable", "eventPhase"); 
		}
		
	}
	
}